#include <2025Linux.h>
int main(int argc, char *argv[])
{
    // ./05_fileno file1
    ARGS_CHECK(argc,2);
    FILE *fp = fopen(argv[1],"r+");
    ERROR_CHECK(fp,NULL,"fopen");

    ssize_t ret = write(fileno(fp),"hello",5);
    printf("ret = %ld\n", ret);

    fclose(fp);
    return 0;
}

